-- CALC_AIRSHIP_UPGRADE_COST

-- 计算飞艇进阶消耗
return function(shipId, rank)
    local classId = NewAirShipM.query(shipId, "chip_id");
    local costMap = {
        [0] = {[classId] = 10},
        [1] = {[classId] = 20},
        [2] = {[classId] = 30},
        [3] = {[classId] = 60},
        [4] = {[classId] = 120},
        [5] = {[classId] = 180},
    }

    return costMap[rank];
end